package com.ruoyi.hospital.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 体检项目信息对象 yl_medical_items
 * 
 * @author ruoyi
 * @date 2022-02-16
 */
public class YlMedicalItems extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 体检项目ID */
    private Long medicalItemsId;

    /** 数字标识 */
    @Excel(name = "数字标识")
    private String num;

    /** 体检项目名称 */
    @Excel(name = "体检项目名称")
    private String name;

    /** 体检项目价格 */
    @Excel(name = "体检项目价格")
    private BigDecimal price;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String description;

    /** 注意事项 */
    @Excel(name = "注意事项")
    private String notice;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private Long revision;

    public void setMedicalItemsId(Long medicalItemsId) 
    {
        this.medicalItemsId = medicalItemsId;
    }

    public Long getMedicalItemsId() 
    {
        return medicalItemsId;
    }
    public void setNum(String num) 
    {
        this.num = num;
    }

    public String getNum() 
    {
        return num;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setNotice(String notice) 
    {
        this.notice = notice;
    }

    public String getNotice() 
    {
        return notice;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("medicalItemsId", getMedicalItemsId())
            .append("num", getNum())
            .append("name", getName())
            .append("price", getPrice())
            .append("description", getDescription())
            .append("notice", getNotice())
            .append("state", getState())
            .append("revision", getRevision())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
